package com.jeomo.mem.starter.service;

import com.jeomo.mem.starter.entity.MemIndexEntity;

import java.time.LocalDate;
import java.util.List;

/**
 * <h3>jeomo</h3>
 * <p>会员</p>
 *
 * @author : 崔贺
 * @date : 2020-11-18 16:21
 **/
public interface IMemberService {

    /**
     * @param
     * @description: 获取趋势
     * @return:
     * @author: 崔贺
     * @time: 2020/11/19 10:32
     */
    List<MemIndexEntity> queryRegisterTendency(LocalDate dateFrom, LocalDate dateTo);

    /**
     * @param
     * @description: 获取截止到某天的注册总数
     * @return: int
     * @author: 崔贺
     * @time: 2020/11/25 11:21
     */
    int queryDayCountRegister(LocalDate date);

    /**
     * 截止到某天的当天的注册量
     */
    int queryOneDayCountRegister(LocalDate date);


}
